package com.etung.iot.demo.boxConfig;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@ApiModel(value = "BOX配置")
public class Box {
    @ApiModelProperty(required = true,notes = "BOX名称")
    private String boxName;
    @ApiModelProperty(required = true,notes = "BOX型号")
    private String model;
    @ApiModelProperty(notes = "固件版本")
    private String firmware;
    @ApiModelProperty(required = true,notes = "实时上传")
    private Boolean isReal;
    @ApiModelProperty(required = true,notes = "BOX序列号")
    private String imei;
    private List<Port> portList;
    @ApiModelProperty(required = true,notes ="项目ID")
    private Long projectId;
    @ApiModelProperty(required = false,notes ="条件存储规则")
    private List<ConditionStorage> conditionStorageList;
}
